﻿namespace MeterReader.WPF.ViewModels
{
    public class MainWindowViewModel : BindableBase
    {
        private readonly IRegionManager _regionManager;
        private readonly IEventAggregator _eventAggregator;

        public MainWindowViewModel(IRegionManager regionManager, IEventAggregator eventAggregator)
        {
            _regionManager = regionManager;
            _eventAggregator = eventAggregator;
            _regionManager.RegisterViewWithRegion("MainRegion", "MetersDataMonitor");
            StopAppCommand = new(StopApp);
        }

        private void StopApp()
        {
            throw new NotImplementedException();
        }

        public DelegateCommand StopAppCommand { get; set; }
    }
}
